package com.lyw.constants;

public class GlobalVariables {

  public static final boolean DYNAMICS = true;
  public static final boolean DE_DYNAMICS = false;
  // 人物在小地图的位置
  private static int[] mini_map_position;
  private static int[] next_room_position;

  public static int[] POSITIONS = {-1, -1, -1, -1, -1, -1};

  public static int[] getMini_map_position() {
    return mini_map_position;
  }

  public static void setMini_map_position(int[] mini_map_position) {
    System.out.println("set cur mini_map: " + mini_map_position[0] + ", " + mini_map_position[1]);
    if (mini_map_position[0] == -1) {
      return;
    }
    GlobalVariables.mini_map_position = mini_map_position;
  }

  public static int[] getNext_room_position() {
    return next_room_position;
  }

  public static void setNext_room_position(int[] next_position) {
    next_room_position = next_position;
  }

}
